package cn.sdormitory.smartdor.service;

import cn.sdormitory.smartdor.vo.SdStudentHygieneVo;
import cn.sdormitory.smartdor.entity.SdHygieneStudent;

import java.util.List;

public interface SdStudentHygieneService {

    /**
     * 根据宿舍id 和卫生考核时间获取学员考勤信息
     * @param bdormitoryId
     * @return
     */
    public List<SdStudentHygieneVo> getStuByCheckDateAndBdormitoryId(String accessDate, Long bdormitoryId);

    /**
     * 增加学生卫生考核
     * @param sdStudentHygieneVo
     * @return
     */
    public int addStudentHygiene(SdStudentHygieneVo sdStudentHygieneVo);

    int create(SdHygieneStudent sdHygieneStudent);

    int update(SdHygieneStudent sdHygieneStudent);
}
